<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数组的创建</title>
</head>
<body>
    <script>
        //创建一个数组
        var arr=[100,true,'hello world']

        //输出一下
        console.log(arr)//结果为0: 100 1: true 2: "hello world"  length: 3
    </script>
</body>
</html>